﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace Ue.CQRS.Samples.Domain.Models
{
    public class BorrowingCard : EntityBase
    {
        public BorrowingCard()
            : base()
        {
        }

        [Event]
        internal BorrowingRecord Borrowing(Book book)
        {
            return new BorrowingRecord(book);
        }
    }
}